<tagLib name="strends" />
<php>
	function showtype($ctype)
	{
		if($ctype==1){
			return "大师说";
		}else{
			return "星象";
		}	
	}
</php>
<include file="Public:header" />

<script type="text/javascript" src="__TMPL__Static/Js/dataList.js"></script>
<div class="handle-btns">
	<strends:imageBtn id="editData" name="editData" value="{%EDIT}" click="editData(this,'checkList','id')" />
	<strends:imageBtn id="removeData" name="removeData" value="{%REMOVE}" click="removeData(this,'checkList')" />
</div>
<strends:list 
	id="checkList" 
	style="list" 
	name="album" 
	checkbox="true" 
	action="true" 
	datasource="list" 
	show="id:{%ID}|50,content:{%content}:textEdit|id,user_name:{%USER_NAME}|100,ctype|showtype:{%CTYPE}|60,create_time|toDate:{%CREATE_TIME}|150,status|getStatusImg:{%STATUS}|50:toggleStatus|id" 
	actionlist="editData:{%EDIT}:id,removeData:{%REMOVE}:id" action_width="100" />
<div class="pager">{$page}</div>
<include file="Public:footer" />